package com.chinawayltd.ews.sample.manager.openApi.constant;

/**
 * openAPI常量类
 * @program: greeProject
 * @description:
 * @author: xiazj
 * @create: 2018-05-07 11:06
 **/
public class OpenApiConstants {

    //查询条件，车牌号模糊匹配，左右匹配
    public static final String QUERY_PARAM_CARNUM_LIKE = "carnum_like";
    //查询条件，更新时间，大于等于
    public static final String QUERY_PARAM_UPDATETIME_GE = "updatetime_ge";
    //查询条件，更新时间，大于等于
    public static final String QUERY_PARAM_UPDATETIME = "updatetime";
    //查询条件，会话id
    public static final String QUERY_PARAM_TOKEN = "token";
    //查询条件，会话id
    public static final String QUERY_PARAM_DATA = "data";
    //查询条件，顶级机构编码
    public static final String QUERY_PARAM_ORGROOT = "orgroot";
    //查询条件，token
    public static final String QUERY_PARAM_USER_TOKEN = "_TOKEN";
    //查询条件，自定义接口的版本
    public static final String QUERY_PARAM_CUSTOM_VERSION = "version";

    //查询条件，根据机构号右匹配查询
    public static final String QUERY_PARAM_ORGCODE_LIKE = "orgcode_like";
    //查询条件，页码
    public static final String QUERY_PARAM_PAGE_NO = "page_no";
    //查询条件，每页数量
    public static final String QUERY_PARAM_PAGE_SIZE = "page_size";

    //网关的错误码，0表示成功，其他值表示失败
    public static final String RESULT_CODE = "code";
    //业务返回码，0表示成功，其他值表示失败
    public static final String RESULT_SUB_CODE = "sub_code";
    //接口返回的数据,如果code和sub_code都为0，该字段存在
    public static final String RESULT_DATA = "data";
    //接口返回的数据,data里面包含的result结果集
    public static final String RESULT_DATA_RESULT = "result";

}
